home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Room
/
The Games Room.iso
/
system
/
c
/
ppmore.doc
< prev
next >
Wrap
Text File
|
1996-09-08
|
6KB
|
149 lines
PPMore 1.71 User Manual
March 4, 1991
Preface
=======
This program is freeware, this means that you can copy it freely as long
as you don't ask any more money for it than a nominal fee for copying. If
you want to distribute this program you should keep this document with it.
This program cannot be used for commercial purposes without written permission
from the author.
If you have suggestions or remarks about this program, or if you find
any bugs, please let me know.
Write to the following address:
Nico Franτois
Corbielaan 13
B-3060 Bertem
BELGIUM
Contents
========
1. An introduction
2. Usage
3. Control
4. Using PPMore from other programs
1. An introduction
==================
This program was written to complement one of my other utilities,
PowerPacker (a command and data cruncher). It is used to read normal ascii
text files or text files crunched with PowerPacker. The program itself is
about 10K long and when you know you save about 60% when you crunch a text
file, you can see that this could save a lot of space on your disks.
PPMore was written as a more replacement (as you could have guessed :-),
so I tried to keep the keyboard commands the same as well as adding some new.
There are two main differences between PPMore and More, PPMore uses gadgets
and it always loads the complete file in memory (More only loads part of the
file and will load the rest when needed). If you can live with these
differences, you can replace More with PPMore anywhere you want.
If you haven't got PowerPacker you are of course missing one of the main
features of this program. PowerPacker is available as shareware (up to
version 2.3b) or as a commercial program (from version 3.0a). Order a copy
from your local UGA distributor or directly from UGA, P.O.Box 881, 3700 AW
Zeist, The Netherlands. The commercial version offers several enhancements
like 40 to 50 times faster crunching and overlay crunching.
2. Usage
========
PPMore can be used in four different ways.
- First of all via the CLI:
If you enter PPMore without arguments you will get a usage template.
You use PPMore like this:
PPMore [<options>] [<file|dir>]
The program will then load the ascii file and display it. If the file
was crunched using PowerPacker 2.0 or higher PPMore will first decrunch it
for you. If the file was encrypted you will be prompted for the password.
The options are explained in section 4.
PPMore can be made resident so it doesn't have to be loaded every time
you use it, use the ARP ARes command or the c: Resident command for this.
You can't make PPMore resident when it is crunched !! The file is supplied
as an uncrunched command file with the pure bit set.
If you enter PPMore without options, you will be presented with either a
file prompt or a filerequester (if arp.library or asl.library is available).
Entering PPMore with a directory instead of a file as an argument will also
get you a requester, but it will be positioned in the directory you specified.
Enter 'PPMore ?' for a little usage message.
- Via the WorkBench:
There are three different ways of using PPMore via the workbench: you
can set the default tool of the (crunched) text file to 'PPMore', you can
single click the PPMore icon and then double click the text file icon or you
can double-click the PPMore icon and enter the filename in the string gadget
(or the ARP filerequester) you will be presented with.
You set the default tool by single clicking the icon of the text file
and selecting 'Info' from the workbench menu. You will get a window with
several gadgets in it, click in the string gadget where it says 'Default
tool' and enter ':ppmore'. PPMore should be in the root directory of your
disk for this to work, if e.g. it's in the system directory you should enter
':system/ppmore'. Last of all select the 'Save' gadget.
NOTE: - PPMore will add '.pp' to the filename when the file wasn't found.
This is very useful in the WorkBench enviroment: you can make an
icon for 'text.doc' but name the file 'text.doc.pp'. Now the
WorkBench will show an icon with 'text.doc' as name, but if you
doubleclick it 'text.doc.pp' will be displayed. (As long as there
is no 'text.doc' file in the directory !)
- Once you are in PPMore press 'L' to load a new file, this is
especially useful if the arp.library is available.
3. Control
==========
PPMore can be controlled by keyboard or by intuition gadgets. To get a
summary of the keyboard commands press <HELP>, the function of the gadgets
shouldn't be hard to understand.
A few notes on printing:
- The printer.device has to be in the devs: directory for PPMore to be able
to print, you should also have a correct system-configuration for your
printer.
- You can continue to read the text when PPMore is printing (this IS a
multitasking computer ! :-), you can't quit when printing is still in
progress !
4. Using PPMore from other programs
===================================
If you are not a programmer you can skip this section.
PPMore has two power options to make it possible to use it from other
programs. This way you don't have to include a text displayer in your
programs, you just execute PPMore with one (or all) of the following options:
-@mem,len,flags[,name]
If you specify this option PPMore will not load a file but instead it
will display a chunk of memory. You specify the memory addres and
length in the command line as well as some flags. The current version
only has one flag: PPMORE_FREEMEM = bit 0 of the flag-word = 0x1.
When this flag is set PPMore will free the memory after it has
finished, if it isn't set PPMore will just exit and leave the memory
alone. This way your program can start PPMore with the PPMORE_FREEMEM
flag set and exit before PPMore has ended. PPMore will then free the
memory instead of your program.